package com.learnyou.server.xingzuo.dto.paramDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/11/9 21:13
 */
@Data
public class NoticeParamDTO {

    @NotEmpty(message = "标题：必填")
    @ApiModelProperty("通知标题")
    private String title;
    @NotEmpty(message = "通知内容：必填")
    @ApiModelProperty("通知内容")
    private String content;

    @ApiModelProperty("已发布：1, 未发布：0")
    private Integer status;
}
